//
//  MXFindTopView.m
//  MXの衣柜
//
//  Created by 马霄 on 15/8/6.
//  Copyright (c) 2015年 霄 马. All rights reserved.
//

#import "MXFindTopView.h"

@implementation MXFindTopView
- (void)dealloc
{
    [_cycleScrollView release];
    [_FindTopView release];
    [super dealloc];
}
-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        self.FindTopView = [[[UIView alloc] init] autorelease];
        self.FindTopView.backgroundColor = [UIColor redColor];
        [self addSubview:self.FindTopView];
        
        self.cycleScrollView = [[[SDCycleScrollView alloc] init] autorelease];
        [self addSubview:self.cycleScrollView];
        
        
    }
    return self;
}
-(void)layoutSubviews
{
    [super layoutSubviews];
    self.cycleScrollView.frame = CGRectMake(0, 0, self.frame.size.width, HEIGHTPRO * 150);
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
